<?php
/********************************************************
 * 
 * Copyright (c) 2007 - 2008
 * 
 * 要查看完整的版权信息和许可信息,请查看源代码中附带的 COPYRIGHT 文件,
 * 
 * 此文件的作用:后台用户管理控制器
 * 
 * @copyright Copyright (c) 2007 - 2008
 * @author 刘昌功 lcg635@126.com
 * 
 ********************************************************/
defined('APP_DIR') or die('404 Not Found');

FLEA::loadClass('Common_AdminAction');

class Controller_AdminUser extends Common_AdminAction {
	function __construct($ctlName)   {
		parent::__construct($ctlName);
	}
	
	function display() {
		$_modUser = FLEA::getSingleton('Model_User');
		$cond = $_GET;unset($cond['ctl']);unset($cond['act']);
		$viewData = $_modUser->getUserInfo($cond);
		if (empty($viewData)) js_alert('此学号的用户不存在', null, $_SERVER['HTTP_REFERER']);
		$this->_out('user/display', $viewData);
	}
	
}